package beans;

import javax.ejb.Local;
import javax.xml.namespace.QName;

import agents.Agent;
import model.ACLMessage;
import model.AgentInfo;
import model.Host;

@Local
public interface ConnectionManagerLocal {

	public void sendToOtherServer(ACLMessage aclMessage);

	public void registerWithOtherNodes();

	public void syncAgentsWithOtherNodes();

	public Host getLocalhost();
	
	public Host getLocalHost();
	
	public String getHttpHeader();

	public String getWsdlLocation();

	public QName getServiceName();

	public Agent findAgentOnRemoteNode(String key);

	public AgentInfo findAnyMasterAgentInfoOnOtherNode();

}
